package com.example.database.demo.enums;

import lombok.Getter;

/**
 * @author xionglin
 */

@Getter
public enum SFPlatformResultCodeEnum {
    A1000("A1000", "平台校验成功"),
    A1001("A1001", "必传参数不可为空"),
    A1011("A1011", "OAuth2认证失败"),
    A1003("A1003", "IP无效"),
    A1004("A1004", "无对应服务权限"),
    A1005("A1005", "流量受控"),
    A1006("A1006", "数字签名无效"),
    A1008("A1008", "数据解密失败"),
    A1009("A1009", "目标服务异常或不可达"),
    A1010("A1010", "状态为沙箱测试"),
    A1099("A1099", "系统异常");

    public final String code;
    public final String msg;

    SFPlatformResultCodeEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
